</div>
<div class="body_cen">
    <div class="body_left">
        <div class="list_network">
            <div class="box">
                <span class="text">Danh sach mang</span>
            </div>
            <div class="box_c">
                <ul id="menus2">
                    <?php foreach ($listNetwork as $key=>$value) { ?>
                        <li id="sim_<?php echo $value['id']; ?>" class="sim_network">
                        	<span id="sim_<?php echo $value['name']; ?>" class="span2"><span><a href="<?php echo site_url('sim-mang-'.$this->mycommon->convertToAlias($value['name']) . '_' . $value['id']) ?>">Sim Số Đẹp <?php echo $value['name'] ;?></a></span></span>
                        	<ul class="list_sim" id="list_sim_<?php echo $value['id']; ?>" style="display:none;">
								<?php foreach ($listGroup as $keys=>$values) { ?>
									<li>
										<a href="<?php echo site_url('mang/'.$this->mycommon->convertToAlias($value['name']) . '_' . $value['id'] . '/nhom_' . $this->mycommon->convertToAlias($values['name']).'_'.$values['id']) ?>">Sim <?php echo $values['name']; ?></a>
									</li>
			                    <?php } ?>
							</ul>
                        </li>
                    <?php } ?>
                </ul>
            </div>
            <div class="box_f"> </div>
        </div>
        <br />
        <div class="list_group">
            <div class="box">DANH SÁCH NHÓM</div>
            <div class="box_c">
                <ul id="menus2">
                    <?php foreach ($listGroup as $key=>$value) { ?>
                        <li> <span class="span2"><span><a href="<?php echo site_url('nhom/'.$this->mycommon->convertToAlias($value['name']) . '_' . $value['id']) ?>">Sim <?php echo $value['name']; ?></a></span></span></li>
                    <?php } ?>
                </ul>
            </div>
            <div class="box_f"></div>
        </div>
        <!-- 
        <div class="list_city">
            <div class="box">
                CHỌN THEO TỈNH THÀNH</div>
            <div class="box_c">
                <form style="margin: 0 auto">
                    <div id="showcity">
                        <?php foreach ($listCity as $key=>$value) { ?>
                            <div>
                                <a href="<?php echo site_url($this->mycommon->convertToAlias($value['name']) . '_' . $value['id']) ?>" rel="nofollow">
                                    <input type="checkbox" value="<?php echo $value['id']; ?>" name="Checkbox1">
                                </a>
                                <a href="<?php echo site_url($this->mycommon->convertToAlias($value['name']) . '_' . $value['id']) ?>" rel="nofollow"><strong>Sim tại <?php echo $value['name']; ?></strong></a>
                            </div>
                        <?php } ?>
                       
                    </div>
                </form>
            </div>
            <div class="box_f"></div>
        </div>
         -->
        <br />
        <div class="require_sim">
            <div class="box">
                YÊU CẦU SIM</div>
            <div class="box_c">
                <form style="margin: 0 auto">
	                <div style="text-align: center" id="showcity">
	                    <a href="<?php echo site_url('/yeu-cau-sim/yeu-cau-sim-so-dep') ?>">Yêu cầu sim</a>
	                </div>
                </form>
            </div>
            <div class="box_f">
            </div>
        </div>
        <br />
        <div> 
            <div class="box">
                    Thống kê website</div>
            <div class="box_c">
                    <div style="width:99%; margin:0 auto">
                            <div id="simcount">
                                    <table cellspacing="1" style="width: 100%; height: 17px;background-color: #EEEEEE">
                                            <?php $total = 0; foreach ($countSim as $key=>$value) { $total = $total + $value;?>
                                                    <tr>
                                                            <td style="height: 17px;padding-left:7px;text-align: left; background-color: #FFFFFF"><?php echo $key; ?></td>
                                                            <td style="height: 17px;padding-left:7px;text-align: left; background-color: #FFFFFF"><?php echo $value;?> Sim</td>
                                                    </tr>
                                            <?php } ?>
                                    </table>
                                    <div style="text-align: center;line-height:27px; magin:0 auto;"><strong>Tổng sim: </strong><span style="color: #FF0000"> <strong><?php echo $total; ?> Sim</strong></span></div>
                            </div>
                    </div>
            </div>
            <div class="box_f">
            </div>
        </div>
        <br />
        <div class="ads box_c" style="width:174px;">
            <?php foreach ($listAds as $key=>$ad) { ?>
                <a href="<?php echo $ad['href']; ?>">
                    <img src="<?php echo $ad['img']?>" alt="simsogiahuy.com" width="174px" height="200px"/>
                </a>
                 
            <?php }?>
            
        </div>
        <br />
    </div>